package com.ruoyi.record.mapper;

import java.util.List;
import com.ruoyi.record.domain.RemediationRecord;

/**
 * 隐患治理记录Mapper接口
 * 
 * @author zolet
 * @date 2025-05-06
 */
public interface RemediationRecordMapper 
{
    /**
     * 查询隐患治理记录
     * 
     * @param id 隐患治理记录主键
     * @return 隐患治理记录
     */
    public RemediationRecord selectRemediationRecordById(Long id);

    /**
     * 查询隐患治理记录列表
     * 
     * @param remediationRecord 隐患治理记录
     * @return 隐患治理记录集合
     */
    public List<RemediationRecord> selectRemediationRecordList(RemediationRecord remediationRecord);

    /**
     * 新增隐患治理记录
     * 
     * @param remediationRecord 隐患治理记录
     * @return 结果
     */
    public int insertRemediationRecord(RemediationRecord remediationRecord);

    /**
     * 修改隐患治理记录
     * 
     * @param remediationRecord 隐患治理记录
     * @return 结果
     */
    public int updateRemediationRecord(RemediationRecord remediationRecord);

    /**
     * 删除隐患治理记录
     * 
     * @param id 隐患治理记录主键
     * @return 结果
     */
    public int deleteRemediationRecordById(Long id);

    /**
     * 批量删除隐患治理记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRemediationRecordByIds(Long[] ids);
}
